package vista;


import javax.swing.BorderFactory;
import javax.swing.JButton;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;
import javax.swing.SwingConstants;

import controlador.ControladorJuego;
//import controlador.ImageIcon;




/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class VistaJuego extends javax.swing.JDialog {
        
	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
	private JPanel jPnlJuego;
	private JButton jBtnB;
	private JRadioButton jRBtnDificil;
	private JRadioButton jRBtnMedio;
	private JRadioButton jRBtnFacil;
	private JButton jBtnAceptar;
	private JLabel jLblImagens;
	private JLabel jLblDificultad;
	private JTextField jTxtIntentos;
	private JLabel jLblIntentos;
	private JButton jBtnComenzar;
	private JLabel jLblImagen9;
	private JLabel jLblPalabra;
	private JLabel jLblTiempo;
	private JLabel jLblCronometro;
	private JButton jBtnSalir;
	private JButton jBtnNuevaPalabra;
	private JButton jBtnE;
	private JButton jBtnZ;
	private JButton jBtnY;
	private JButton jBtnX;
	private JButton jBtnW;
	private JButton jBtnV;
	private JButton jBtnU;
	private JButton jBtnT;
	private JButton jBtnS;
	private JButton jBtnR;
	private JButton jBtnQ;
	private JButton jBtnP;
	private JButton jBtnO;
	private JButton jBtnN;
	private JButton jBtnM;
	private JButton jBtnL;
	private JButton jBtnK;
	private JButton jBtnJ;
	private JButton jBtnI;
	private JButton jBtnH;
	private JButton jBtnG;
	private JButton jBtnF;
	private JButton jBtnD;
	private JButton jBtnC;
	private JButton jBtnA;

	/**
	* Auto-generated main method to display this JDialog
	*/
		
	public VistaJuego(JFrame frame, ControladorJuego controladorjuego) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				getContentPane().setLayout(null);
				this.setTitle("Ahorcado");
				{
					jPnlJuego = new JPanel();
					getContentPane().add(jPnlJuego);
					jPnlJuego.setBounds(6, 6, 681, 414);
					jPnlJuego.setLayout(null);
					jPnlJuego.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
					{
						jBtnA = new JButton();
						jPnlJuego.add(jBtnA);
						jBtnA.setText("A");
						jBtnA.setBounds(121, 292, 39, 22);
						jBtnA.setEnabled(false);
						jBtnA.setVisible(false);
					}
					{
						jBtnB = new JButton();
						jPnlJuego.add(jBtnB);
						jBtnB.setText("B");
						jBtnB.setBounds(92, 249, 39, 22);
						jBtnB.setEnabled(false);
						jBtnB.setVisible(false);
					}
					{
						jBtnE = new JButton();
						jPnlJuego.add(jBtnE);
						jBtnE.setText("E");
						jBtnE.setBounds(207, 289, 39, 22);
						jBtnE.setEnabled(false);
						jBtnE.setVisible(false);
					}
					{
						jBtnC = new JButton();
						jPnlJuego.add(jBtnC);
						jBtnC.setText("C");
						jBtnC.setBounds(137, 249, 39, 22);
						jBtnC.setEnabled(false);
						jBtnC.setVisible(false);
					}
					{
						jBtnD = new JButton();
						jPnlJuego.add(getJBtnD());
						jBtnD.setText("D");
						jBtnD.setBounds(164, 289, 39, 22);
						jBtnD.setEnabled(false);
						jBtnD.setVisible(false);
					}
					{
						jBtnF = new JButton();
						jPnlJuego.add(jBtnF);
						jBtnF.setText("F");
						jBtnF.setBounds(250, 289, 39, 22);
						jBtnF.setEnabled(false);
						jBtnF.setVisible(false);
					}
					{
						jBtnG = new JButton();
						jPnlJuego.add(jBtnG);
						jBtnG.setText("G");
						jBtnG.setBounds(336, 289, 39, 22);
						jBtnG.setEnabled(false);
						jBtnG.setVisible(false);
					}
					{
						jBtnH = new JButton();
						jPnlJuego.add(jBtnH);
						jBtnH.setText("H");
						jBtnH.setBounds(379, 289, 39, 22);
						jBtnH.setEnabled(false);
						jBtnH.setVisible(false);
					}
					{
						jBtnI = new JButton();
						jPnlJuego.add(jBtnI);
						jBtnI.setText("I");
						jBtnI.setBounds(293, 289, 39, 22);
						jBtnI.setEnabled(false);
						jBtnI.setVisible(false);
					}
					{
						jBtnJ = new JButton();
						jPnlJuego.add(getJBtnJ());
						jBtnJ.setText("J");
						jBtnJ.setBounds(182, 249, 39, 22);
						jBtnJ.setEnabled(false);
						jBtnJ.setVisible(false);
					}
					{
						jBtnK = new JButton();
						jPnlJuego.add(getJBtnK());
						jBtnK.setText("K");
						jBtnK.setBounds(227, 249, 39, 22);
						jBtnK.setEnabled(false);
						jBtnK.setVisible(false);
					}
					{
						jBtnL = new JButton();
						jPnlJuego.add(jBtnL);
						jBtnL.setText("L");
						jBtnL.setBounds(272, 249, 39, 22);
						jBtnL.setEnabled(false);
						jBtnL.setVisible(false);
					}
					{
						jBtnM = new JButton();
						jPnlJuego.add(getJBtnM());
						jBtnM.setText("M");
						jBtnM.setBounds(317, 249, 39, 22);
						jBtnM.setEnabled(false);
						jBtnM.setVisible(false);
					}
					{
						jBtnN = new JButton();
						jPnlJuego.add(getJBtnN());
						jBtnN.setText("N");
						jBtnN.setBounds(362, 249, 39, 22);
						jBtnN.setEnabled(false);
						jBtnN.setVisible(false);
					}
					{
						jBtnO = new JButton();
						jPnlJuego.add(getJBtnO());
						jBtnO.setText("O");
						jBtnO.setBounds(423, 289, 39, 22);
						jBtnO.setEnabled(false);
						jBtnO.setVisible(false);
					}
					{
						jBtnP = new JButton();
						jPnlJuego.add(getJBtnP());
						jBtnP.setText("P");
						jBtnP.setBounds(407, 249, 39, 22);
						jBtnP.setEnabled(false);
						jBtnP.setVisible(false);
					}
					{
						jBtnQ = new JButton();
						jPnlJuego.add(getJBtnQ());
						jBtnQ.setText("Q");
						jBtnQ.setBounds(453, 249, 39, 22);
						jBtnQ.setEnabled(false);
						jBtnQ.setVisible(false);
					}
					{
						jBtnR = new JButton();
						jPnlJuego.add(getJBtnR());
						jBtnR.setText("R");
						jBtnR.setBounds(99, 324, 45, 22);
						jBtnR.setEnabled(false);
						jBtnR.setVisible(false);
					}
					{
						jBtnS = new JButton();
						jPnlJuego.add(getJBtnS());
						jBtnS.setText("S");
						jBtnS.setBounds(142, 324, 45, 22);
						jBtnS.setEnabled(false);
						jBtnS.setVisible(false);
					}
					{
						jBtnT = new JButton();
						jPnlJuego.add(getJBtnT());
						jBtnT.setText("T");
						jBtnT.setBounds(186, 326, 45, 22);
						jBtnT.setEnabled(false);
						jBtnT.setVisible(false);
					}
					{
						jBtnU = new JButton();
						jPnlJuego.add(getJBtnU());
						jBtnU.setText("U");
						jBtnU.setBounds(229, 324, 45, 22);
						jBtnU.setEnabled(false);
						jBtnU.setVisible(false);
					}
					{
						jBtnV = new JButton();
						jPnlJuego.add(getJBtnV());
						jBtnV.setText("V");
						jBtnV.setBounds(273, 324, 45, 22);
						jBtnV.setEnabled(false);
						jBtnV.setVisible(false);
					}
					{
						jBtnW = new JButton();
						jPnlJuego.add(getJBtnW());
						jBtnW.setText("W");
						jBtnW.setBounds(317, 325, 45, 22);
						jBtnW.setEnabled(false);
						jBtnW.setVisible(false);
					}
					{
						jBtnX = new JButton();
						jPnlJuego.add(jBtnX);
						jBtnX.setText("X");
						jBtnX.setBounds(360, 324, 45, 22);
						jBtnX.setEnabled(false);
						jBtnX.setVisible(false);
					}
					{
						jBtnY = new JButton();
						jPnlJuego.add(getJBtnY());
						jBtnY.setText("Y");
						jBtnY.setBounds(404, 324, 45, 22);
						jBtnY.setEnabled(false);
						jBtnY.setVisible(false);
					}
					{
						jBtnZ = new JButton();
						jPnlJuego.add(getJBtnZ());
						jBtnZ.setText("Z");
						jBtnZ.setBounds(448, 326, 45, 22);
						jBtnZ.setEnabled(false);
						jBtnZ.setVisible(false);
					}
					{
						jBtnNuevaPalabra = new JButton();
						jPnlJuego.add(getJBtnNuevaPalabra());
						jBtnNuevaPalabra.setText(" Nueva palabra");
						jBtnNuevaPalabra.setBounds(521, 248, 153, 26);
						//jBtnNuevaPalabra.setEnabled(false);
						jBtnNuevaPalabra.setVisible(false);
						jBtnNuevaPalabra.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/Reestablecer.png")));

						jBtnSalir = new JButton();
						jPnlJuego.add(getJBtnSalir());
						jBtnSalir.setText("Salir");
						jBtnSalir.setBounds(554, 343, 95, 26);
						jBtnSalir.setVisible(false);
						jBtnSalir.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/action_stop.gif")));
					}
					{
						jLblPalabra = new JLabel();
						jPnlJuego.add(getJLblPalabra());
						jLblPalabra.setBounds(84, 209, 519, 34);
						jLblPalabra.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
						jLblPalabra.setForeground(new java.awt.Color(0,0,255));
						jLblPalabra.setBackground(new java.awt.Color(255,255,255));
						jLblPalabra.setHorizontalAlignment(SwingConstants.CENTER);
						jLblPalabra.setFont(new java.awt.Font("Century Schoolbook L",3,14));
						jLblPalabra.setVisible(false);
						jLblPalabra.setOpaque(true);
					}
					
					{
						jLblImagen9 = new JLabel();
						jPnlJuego.add(getJLblImagen9());
						jLblImagen9.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
						{
							jBtnComenzar = new JButton();
							jPnlJuego.add(getJBtnComenzar());
							jBtnComenzar.setText("Comenzar");
							jBtnComenzar.setBounds(522, 293, 152, 26);
							jBtnComenzar.setVisible(false);
							jBtnComenzar.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/Aceptar.png")));
						}
						{
							jLblIntentos = new JLabel();
							jPnlJuego.add(jLblIntentos);
							jLblIntentos.setText("Intentos");
							jLblIntentos.setBounds(453, 12, 78, 15);
							jLblIntentos.setHorizontalAlignment(SwingConstants.CENTER);
							jLblIntentos.setVisible(false);
						}
						{
							jLblTiempo = new JLabel();
							jPnlJuego.add(jLblTiempo);
							jLblTiempo.setText("Tiempo");
							jLblTiempo.setBounds(30, 12, 78, 15);
							jLblTiempo.setHorizontalAlignment(SwingConstants.CENTER);
							jLblTiempo.setVisible(false);
						}
						{
							jLblCronometro = new JLabel();
							jPnlJuego.add(jLblCronometro);
							jLblCronometro.setText("00:00:00");
							jLblCronometro.setBounds(110, 12, 78, 15);
							jLblCronometro.setHorizontalAlignment(SwingConstants.CENTER);
							jLblCronometro.setVisible(false);
						}
						{
							jTxtIntentos = new JTextField();
							jPnlJuego.add(getJTxtIntentos());
							jTxtIntentos.setBounds(549, 7, 32, 27);
							jTxtIntentos.setText("8");
							jTxtIntentos.setHorizontalAlignment(SwingConstants.CENTER);
							jTxtIntentos.setVisible(false);
							jTxtIntentos.setEnabled(false);
						}
						{
							jLblDificultad = new JLabel();
							jPnlJuego.add(jLblDificultad);
							jLblDificultad.setText("Dificultad");
							jLblDificultad.setBounds(81, 14, 78, 15);
						}
						{
							jLblImagens = new JLabel();
							jPnlJuego.add(jLblImagens);
							jLblImagens.setBounds(99, 35, 114, 110);
							jLblImagens.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/images.jpeg")));
						}
						{
							jBtnAceptar = new JButton();
							jPnlJuego.add(jBtnAceptar);
							jBtnAceptar.setText("Aceptar");
							jBtnAceptar.setBounds(7, 157, 114, 27);
							jBtnAceptar.setEnabled(false);
							jBtnAceptar.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/Aceptar.png")));
						}
						{
							jRBtnFacil = new JRadioButton();
							jPnlJuego.add(getJRBtnFacilx());
							jRBtnFacil.setText("Facil");
							jRBtnFacil.setBounds(9, 41, 79, 18);
						}
						{
							jRBtnMedio = new JRadioButton();
							jPnlJuego.add(getJRBtnMediox());
							jRBtnMedio.setText("Medio");
							jRBtnMedio.setBounds(8, 73, 79, 18);
						}
						{
							jRBtnDificil = new JRadioButton();
							jPnlJuego.add(getJRBtnDificilx());
							jRBtnDificil.setText("Dificil");
							jRBtnDificil.setBounds(8, 106, 79, 18);
						}
						jLblImagen9.setBounds(220, 12, 138, 177);
						//jLblImagen9.setDisabledIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/7.gif")));
						//jLblImagen9.setIcon(new ImageIcon(getClass().getClassLoader().getResource("imagenes/7.gif")));
						jLblImagen9.setVisible(false);
					}
				}
			}
			this.setSize(703, 456);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public JTextField getjTxtIntentos() {
		return jTxtIntentos;
	}

	public JLabel getjLblIntentos() {
		return jLblIntentos;
	}

	public JButton getJBtnA() {
		return jBtnA;
	}
	
	public JButton getJBtnB() {
		return jBtnB;
	}
	
	public JButton getJBtnC() {
		return jBtnC;
	}
	
	public JButton getJBtnD() {
		return jBtnD;
	}
	public JButton getJBtnE() {
		return jBtnE;
	}
	public JButton getJBtnF() {
		return jBtnF;
	}
	public JButton getJBtnG() {
		return jBtnG;
	}
	public JButton getJBtnH() {
		return jBtnH;
	}
	public JButton getJBtnI() {
		return jBtnI;
	}
	public JButton getJBtnJ() {
		return jBtnJ;
	}
	
	public JButton getJBtnK() {
		return jBtnK;
	}
	public JButton getJBtnL() {
		return jBtnL;
	}
	public JButton getJBtnM() {
		return jBtnM;
	}
	
	public JButton getJBtnN() {
		return jBtnN;
	}
	
	public JButton getJBtnO() {
		return jBtnO;
	}
	
	public JButton getJBtnP() {
		return jBtnP;
	}
	
	public JButton getJBtnQ() {
		return jBtnQ;
	}
	
	public JButton getJBtnR() {
		return jBtnR;
	}
	
	public JButton getJBtnS() {
		return jBtnS;
	}
	
	public JButton getJBtnT() {
		return jBtnT;
	}
	
	public JButton getJBtnU() {
		return jBtnU;
	}
	
	public JLabel getjLblImagens() {
		return jLblImagens;
	}

	public JLabel getjLblDificultad() {
		return jLblDificultad;
	}

	public JButton getJBtnV() {
		return jBtnV;
	}
	
	public JButton getJBtnW() {
		return jBtnW;
	}
	
	public JButton getJBtnX() {
		return jBtnX;
	}
	public JButton getJBtnY() {
		return jBtnY;
	}
	
	public JButton getJBtnZ() {
		return jBtnZ;
	}
	
	public JButton getJBtnNuevaPalabra() {
		return jBtnNuevaPalabra;
	}
	
	public JButton getJBtnSalir() {
		return jBtnSalir;
	}
	
	public JLabel getJLblPalabra() {
		return jLblPalabra;
	}
	
	public JLabel getJLblImagen9() {
		return jLblImagen9;
	}
	public JButton getJBtnComenzar() {
		return jBtnComenzar;
	}
	
	public JRadioButton getJRBtnFacil() {
		return jRBtnFacil;
	}
	
	public JRadioButton getJRBtnMedio() {
		return jRBtnMedio;
	}
	
	public JRadioButton getJRBtnDificil() {
		return jRBtnDificil;
	}
	
	public JLabel getJLblDificultad() {
		return jLblDificultad;
	}
	
	public JTextField getJTxtIntentos() {
		return jTxtIntentos;
	}
	
	public JButton getJBtnAceptar() {
		return jBtnAceptar;
	}
	
	
	public JRadioButton getJRBtnFacilx() {
		return jRBtnFacil;
	}
	
	public JRadioButton getJRBtnMediox() {
		return jRBtnMedio;
	}
	
	public JRadioButton getJRBtnDificilx() {
		return jRBtnDificil;
	}

	public JLabel getjLblCronometro() {
		return jLblCronometro;
	}

	public void setjLblCronometro(JLabel jLblCronometro) {
		this.jLblCronometro = jLblCronometro;
	}
	
	public JLabel getjLblTiempo() {
		return jLblTiempo;
	}
	
	
}
